package com.qiwo.webshow.domain;


import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.SafeHtml;

/**
 * 
 * <pre>
 *  @author  chenwenchao
 *  @date 2018-10-23 14:57:15
 * 政府采购管理
 * </pre>
 * <small> 2018-10-23 14:57:15 | chenwenchao</small>
 */
@Data
@SuppressWarnings("serial")
@TableName("tb_gover_procurement")
@EqualsAndHashCode(callSuper=true) 
public class GoverProcurementDO  extends Model< GoverProcurementDO> implements Serializable {
	@TableId
	private Long id;

    /** 类型 */
    @ApiModelProperty("类型")
    @TableField("type_code")
    private Integer typeCode;

    /** 类型 */
    @ApiModelProperty("类型")
    @TableField(exist =false )
    private String typeName;

    /** 图片路径 */
    @ApiModelProperty("图片路径")
    @TableField("image_url")
    private String imageUrl;

    /** 标题 */
    @ApiModelProperty("标题")
    @TableField("title")
    private String title;


    /** 排序 */
    @ApiModelProperty("排序")
    @TableField("sort")
    private Integer sort;

        @Override
        protected Serializable pkVal(){
            return this.id;
        }
}
